AINPUT_MOTION_RANGE_X

Constants used to retrieve information about the range of motion for a particular coordinate of a motion event.

Refer to the documentation on android.view.InputDevice for more details about input sources and their correct interpretation.

@deprecated These constants are deprecated. Use {@link AMOTION_EVENT_AXIS AMOTION_EVENT_AXIS_*} constants instead.

Values

ValueMeaning
AINPUT_MOTION_RANGE_X.AMOTION_EVENT_AXIS_X

x

AINPUT_MOTION_RANGE_Y.AMOTION_EVENT_AXIS_Y

y

AINPUT_MOTION_RANGE_PRESSURE.AMOTION_EVENT_AXIS_PRESSURE

pressure

AINPUT_MOTION_RANGE_SIZE.AMOTION_EVENT_AXIS_SIZE

size

AINPUT_MOTION_RANGE_TOUCH_MAJOR.AMOTION_EVENT_AXIS_TOUCH_MAJOR

touch major

AINPUT_MOTION_RANGE_TOUCH_MINOR.AMOTION_EVENT_AXIS_TOUCH_MINOR

touch minor

AINPUT_MOTION_RANGE_TOOL_MAJOR.AMOTION_EVENT_AXIS_TOOL_MAJOR

tool major

AINPUT_MOTION_RANGE_TOOL_MINOR.AMOTION_EVENT_AXIS_TOOL_MINOR

tool minor

AINPUT_MOTION_RANGE_ORIENTATION.AMOTION_EVENT_AXIS_ORIENTATION

orientation

Meta